package com.api.demo.dto.business.order;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 查询任务类型DTO
 * @author: yanming
 * @createDate: 2022/12/28 14:22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskTypeListDTO extends ApiDTO {

    @ApiModelProperty(value = "服务商ID")
    @NotNull(message = "服务商ID不能为空")
    private Long taxId;

    @ApiModelProperty(value = "社会信用代码", required = true)
    @NotBlank(message = "社会信用代码不能为空")
    private String creditCode;


}